package com.xuxiangyang.competitionsystem.mapper;

import com.xuxiangyang.competitionsystem.entities.*;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {

    User checkLoginByTel(User user);

    User checkOldPass(User user);

    void updatePass(User user);

    void updateUser(User user);

    void insertUser(User user);

    List<School> getAllScholl();

    List<User> getAllUser();

    void deleteUser(User user);
}
